package cn.fboost.mtos.dto.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Data
public class AddressUpdateRequest {
    @NotNull(message = "地址ID不能为空")
    @Positive(message = "地址ID有误")
    private Integer id;
    private String name;
    private String telephone;
    private String address;
    private Boolean isDefault;
}
